//
//  CYUITextField_Account.h
//  Edu_iOS
//
//  Created by yanyan on 2017/9/8.
//  Copyright © 2017年 yanyan. All rights reserved.
//

#import "CYUIView_base.h"
#import "CYBlock.h"
@interface ECUITextField_Account : CYUIView_base<UITextFieldDelegate>
@property(nonatomic,readonly)UITextField *textField;
@property(nonatomic,assign)BOOL isSecureTextEntry;
@property(nonatomic,readonly)UIImageView *leftImageView;//左侧view
@property(nonatomic,readonly)ECUButton *rightButton;//其他操作
@property(nonatomic,strong)UIColor *separatorColor;//底部的分割线--框线
@property(nonatomic,strong)NSString *placeholder;
@property(nonatomic,strong)CYBlock_Object block_rightButton;// 右边按钮的操作
@property(nonatomic,strong)CYBlock_Object block_beginEditing;
@property(nonatomic,strong)CYBlock_Object block_endEditing;

- (instancetype)initWithFrame:(CGRect)frame placeholder:(NSString *)placeholder leftImage:(UIImage *)leftImage;
@end
